//
//  HESecurtyChainData.h
//  HealthFamily
//
//  Created by 吴欧 on 2021/2/22.
//  Copyright © 2021 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class HESecuryChainUserModel;

@interface HESecurtyChainData : NSObject

/****** 是否是第一次输入 ******/
+ (BOOL)isFirstInput:(NSString *)str;

/****** 判断第二次输入 ******/
+ (BOOL)isSecondInputRight:(NSString *)str;

/****** 忘记密码 ******/
+ (void)forgotPsw;

/****** 设置密码 ******/
+ (void)setPSW:(NSString *)str;

/***** 是否有保存记录 ******/
+ (BOOL)isSave;


/***** 是否开启指纹登录 ******/
+ (BOOL)hasFingerprint;

/** 保存随机生成的指纹密码 ***/
+ (void)saveFingerprintPWD;

/** 获取随机生成的指纹密码 ***/
+ (HESecuryChainUserModel *)getFingerprintPWD;

/** 删除指纹密码 ***/
+ (void)removeFingerprintPWD;

@end


@interface HESecuryChainUserModel : NSObject

@property (nonatomic, strong) NSString *username;
@property (nonatomic, strong) NSString *password;
@property (nonatomic, strong) NSString *avatar;

@end

NS_ASSUME_NONNULL_END
